import store from "@/store/index.js"
import {toLogin} from "@/libs/login.js"
export default {
	judgeLogin(cb){
		console.log()
		if(!store.getters.isLogin){
			toLogin()
		}else{
			cb && cb()
		}
		
	}
}